<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <title>会议视频表</title>
    <?php PrintPageHead(); ?>
    <link href="../resource/css/hermes.css" rel="stylesheet">
    <link href="../resource/js/calendar/calendar-blue.css" type="text/css" rel="stylesheet">
    <script src="../resource/js/calendar/calendar.js" type="text/javascript"></script>
    <script src="../resource/js/hermes.js"></script>
    <style type="text/css">
        .divleft{width: 10%; float: left; text-align:center; border-right: solid 1px #d5d5d5; margin-right: 2% }
        .divleft2{width: 8%; min-width: 8%;min-height: 10px; float: left; text-align:center; border-right: solid 1px #d5d5d5; margin-right: 0% }
        .divright{ width: 8%; float:right; text-align: center;}
        .divleft3{ width: 10%; float: left; text-align:center;  border-right: solid 1px #d5d5d5; margin-right: 2% }

    </style>
    <?php
    if (!array_key_exists("公众号ID",$_SESSION)) {
        header("Location:back.php");
    }
    $bm=new C后台管理员();
    $sql = "SELECT * FROM `会议表` ORDER BY id DESC";

    $r显示2 =$bm->f通过sql分页($sql,@$_GET['page'],$_GET);
    $添加视频课程 = 'back.php?state=back14meet_add';
    ?>
</head>
<body>


<div class="container-fluid">
    <?php include_once 'back_header.php'; ?>
    <div class="panel panel-primary">
        <div class="panel-heading text-center"><h3 class="panel-title">会议视频</h3></div>
        <div class="panel-body" style="font-size: 18px;">

            <a href="<?=$添加视频课程?>" type="button" class="btn btn-primary">添加会议</a>
        </div>

        <div class="panel-body">
            <div class="panel-group"   id="accordion" role="tablist" aria-multiselectable="true">
                <div class="panel panel-default" >
                    <div class="panel-heading" style="background-color:#d5d5d5" >
                        <div class="row">
                            <div class="col-xs-4 text-justify" style="width:100%;">
                                <div class="divleft"><b >图片</b></div>
                                <div class="divleft2"><b >会议名称</b></div>
                                <div class="divleft2"><b  >会议时间</b></div>
                                <div class="divleft2"><b  >会议地点</b></div>
                                <div class="divleft2"><b  >主办单位</b></div>
                                <div class="divleft2"><b  >子栏目</b></div>
                                <div class="divleft3"><b  >状态</b></div>
                                <div class="divright"><b  >操作</b></div>

                            </div>
                        </div>
                    </div>
                </div>
                <div class="panel panel-default">
                    <?php foreach($r显示2['result'] as $key => $value):?>
                        <div class="panel-heading"  style=" <?php if($key%2==0){echo "background-color:#DFF0D8;";}else{ echo "border-top: solid 2px #ffffff;";}?>">
                            <div class="row">
                                <div class="col-xs-4 text-justify" style="width:100%;">
                                    <div class="divleft">
                                        <img  width="60px" height="60px" src="<?=G_SITE_BASE?>/<?= $value['图片log'] ?>" title="<?=G_SITE_BASE?>/<?= $value['图片log'] ?>"/>
                                            </div>
                                    <div class="divleft2"><span><?= $value['name'] ?></span></div>
                                    <div class="divleft2"><span><?= $value['会议时间'] ?></span></div>


                                    <div class="divleft2"><span><?= $value['会议地点'] ?></span></div>
                                    <div class="divleft2"><span><?= $value['主办单位'] ?></span></div>
                                    <div class="divleft2"><span><?= $value['子栏目'] ?></span></div>
                                    <div class="divleft3"><span><?= $value['状态'] ?></span></div>
                                    <div class="divright"><span> <a class="btn btn-primary btn-xs" href="../back.php?state=back14meet_add&id=<?= $value['id']?>">编辑</a></span>
                                       </div>
                                </div>
                            </div>
                        </div>
                    <?php endforeach; ?>

                </div>
            </div>
        </div>
        <?php  echo $r显示2['show'];?>
    </div>

</div>

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="../resource/js/jquery-1.11.1.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="../resource/js/bootstrap.min.js"></script>
<script language="JavaScript">

</script>
</body>
</html>